<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">

    <title>添加教师</title>

    <link rel="stylesheet" href="/static/css-lib/bootstrap.min.css" />

    <style>
        .header-title {
            position: absolute;
            left: 20px;
            top: 15px;
            font-size: 18px;
            color: #777;
            display: inline-block;
        }
        .header-button {
            position: absolute;
            right: 20px;
            top: 10px;
            display: inline-block;
        }
        .input-box {
            border: 1px solid #ccc;
            font-size: 14px;
            -webkit-border-radius: 0 4px 4px 0;
            -moz-border-radius: 0 4px 4px 0;
            border-radius: 0 4px 4px 0;
            width: 100%;
            background: #fff;
        }
        ::-webkit-scrollbar {
            /*滚动条整体样式*/
            width : 10px;  /*高宽分别对应横竖滚动条的尺寸*/
            height: 1px;
        }
        ::-webkit-scrollbar-thumb {
            /*滚动条里面小方块*/
            border-radius: 10px;
            box-shadow   : inset 0 0 5px rgba(73, 78, 84, 0.2);
            background   : #535353;
        }
        ::-webkit-scrollbar-track {
            /*滚动条里面轨道*/
            box-shadow   : inset 0 0 5px rgba(73, 78, 84, 0.2);
            border-radius: 10px;
            background   : #ededed;
        }
    </style>
</head>
<body>
    <!-- 头部信息 -->
    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="header-title">
            添加教师
        </div>
        <div class="header-button">
            <button id="submit" type="button" class="btn btn-success">提交</button>
        </div>
    </nav>

    <div class="container-fluid" style="padding-top: 60px;">
        <div class="row">
            <!-- 登录信息 -->
            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                <ul class="list-group">
                    <li class="list-group-item active">登录信息</li>
                    <li class="list-group-item">
                        <div class="input-group has-error">
                            <span class="input-group-addon">登录名</span>
                            <input id="loginName" type="text" class="form-control" placeholder="2~15个字符" />
                        </div>
                    </li>
                    <li class="list-group-item">
                        <div class="input-group has-error">
                            <span class="input-group-addon">登录密码</span>
                            <input id="loginPswd" type="text" class="form-control" placeholder="6~18个字符" />
                        </div>
                    </li>
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">手机号</span>
                            <input id="phoneNum" type="tel" class="form-control" />
                        </div>
                    </li>
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">邮箱号</span>
                            <input id="emailNum" type="email" class="form-control" />
                        </div>
                    </li>
                </ul>
            </div>

            <!-- 基本信息 -->
            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                <ul class="list-group">
                    <li class="list-group-item">基本信息</li>
                    <li class="list-group-item">
                        <div class="input-group has-success">
                            <span class="input-group-addon">姓名</span>
                            <input id="userName" type="text" class="form-control" placeholder="2~15个字符" />
                        </div>
                    </li>
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">性别</span>
                            <div class="input-box">
                                <select id="userSex" class="form-control">
                                    <option value=0 selected>男</option>
                                    <option value=1>女</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">QQ</span>
                            <input id="QQNum" type="number" class="form-control" />
                        </div>
                    </li>
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">微信</span>
                            <input id="wechatNum" type="text" class="form-control" />
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <div class="row">
            <!-- 教育信息 -->
            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                <ul class="list-group">
                    <li class="list-group-item">教育信息</li>
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">学校</span>
                            <input id="school" type="text" class="form-control" />
                        </div>
                    </li>
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">专业</span>
                            <input id="major" type="text" class="form-control" />
                        </div>
                    </li>
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">学历</span>
                            <div class="input-box">
                                <select id="edu" class="form-control">
                                    <option value=0>专科</option>
                                    <option value=1 selected>本科</option>
                                    <option value=2>研究生</option>
                                    <option value=3>其他</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">年级</span>
                            <div class="input-box">
                                <select id="grade" class="form-control">
                                    <option value=0>2015级</option>
                                    <option value=1>2016级</option>
                                    <option value=2>2017级</option>
                                    <option value=3 selected>2018级</option>
                                    <option value=4>2019级</option>
                                </select>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
            <!-- 备注 -->
            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                <ul class="list-group">
                    <li class="list-group-item">备注</li>
                    <li class="list-group-item">
                        <textarea id="commentArea" maxlength="85" style="min-height: 190px;width: 100%;border: none;outline: none;"></textarea>
                    </li>
                </ul>
            </div>
        </div>

    </div>

    <!-- 错误提示框 -->
    <div id="error-box" class="modal fade" tabindex="-1" data-backdrop="false">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">&times;</button>
                    <h4 class="modal-title">错误</h4>
                </div>
                <div id="error-content" class="modal-body"></div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
        </div>
    </div>

    <script src="/static/js-lib/jquery-3.4.1.min.js"></script>
    <script src="/static/js-cus/admin/Console-Frame-AddTeacher.js"></script>
</body>
</html>